package org.example.compute;

public class Calculator{

    public int getCompute(int num1, int num2, String symbol)
            throws ClassNotFoundException, InstantiationException, IllegalAccessException {
        Computable compute = ComputeFactory.getCompute(symbol);
        return compute.getCompute(num1,num2);
    }
}
